package com.esun.payment_api.service;

import com.esun.payment_api.bean.PjBean;
import com.esun.payment_api.bean.SumDkReceiveMoneyBean;
import com.esun.payment_api.dto.PInvInsParam;
import com.esun.payment_api.dto.PjQueryParam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface FkDraftClaimService {
    //根据id删除
    int deleteById(Integer id);

    //新增多个汇票--存储过程
    void insertMultiple(PInvInsParam param);

    //获取可选票据列表
    List<PjBean> getFkSelectPjList(PjQueryParam queryParam, Integer pageSize, Integer pageNum);

    //按筛选条件，计算：可选票据总金额
    SumDkReceiveMoneyBean getFkSelectPjZje(PjQueryParam queryParam);

    //确认按钮
    int confirmButton(Integer id);

    //取消按钮
    int cancelButton(Integer id);
}
